package com.kingdee.eas.xr.app;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.basedata.org.OrgStructureInfo;
import java.util.Map;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.metadata.IMetaDataPK;
import java.util.Set;
import com.kingdee.eas.framework.bireport.util.SimpleTreeNode;
import java.sql.Timestamp;

import java.rmi.RemoteException;
import com.kingdee.bos.framework.ejb.BizController;

public interface XrCommonFacadeController extends BizController
{
    public Set getAllParentOrgIds(Context ctx, String treeId, String orgUnitId) throws BOSException, EASBizException, RemoteException;
    public String getOrgLongNumber(Context ctx, String treeId, String orgUnitId) throws BOSException, EASBizException, RemoteException;
    public Set getChildrenOrgIds(Context ctx, String treeId, String orgUnitId) throws BOSException, EASBizException, RemoteException;
    public String getParentOrgId(Context ctx, Set ids, String treeId) throws BOSException, EASBizException, RemoteException;
    public String locateMetaSvr(Context ctx, String metaName) throws BOSException, EASBizException, RemoteException;
    public String locateClassSvr(Context ctx, String className) throws BOSException, EASBizException, RemoteException;
    public Map beforeDownLoadClassOrJarFile(Context ctx, String className) throws BOSException, EASBizException, RemoteException;
    public boolean afterDownLoadClassOrJarFile(Context ctx, String className) throws BOSException, EASBizException, RemoteException;
    public Timestamp getServerDate(Context ctx) throws BOSException, RemoteException;
    public void saveColorScheme(Context ctx, Map colorScheme, String bosType) throws BOSException, EASBizException, RemoteException;
    public Map loadColorScheme(Context ctx, String bosType) throws BOSException, EASBizException, RemoteException;
    public SimpleTreeNode getCompanyTree(Context ctx, String treeID, OrgStructureInfo rootInfo, IMetaDataPK metaDataPK, IMetaDataPK actionPK) throws BOSException, EASBizException, RemoteException;
}